package com.xzlf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 商品规则参数
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_item_param")
public class TbItemParam {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品类目ID
     */
    @TableField(value = "item_cat_id")
    private Long itemCatId;

    /**
     * 参数数据，格式为json格式
     */
    @TableField(value = "param_data")
    private String paramData;

    @TableField(value = "created")
    private Date created;

    @TableField(value = "updated")
    private Date updated;
}